package com.xhwl.logistics.query.iot;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xhwl.common.vo.PageParamVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class EnergyRecordQuery extends PageParamVO implements Serializable {

    @ApiModelProperty(value = "关键字模糊查询，")
    private String keywords;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "抄表开始时间")
    private Date startDate;

    @ApiModelProperty(value = "设备编号")
    private String deviceCode;


    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "抄表结束时间")
    private Date endDate;
}
